import type { FC } from 'react'

interface DocsIcon {
  color: string
  secondaryColor: string
}

export const DocsIcon: FC<React.ComponentProps<'svg'> & DocsIcon> = ({
  color,
  secondaryColor,
  ...props
}) => {
  return (
    <svg
      width="108"
      height="91"
      viewBox="0 0 108 91"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M26.4976 31.2191L16.9134 85.8525C16.6955 87.0944 17.0402 88.2855 17.8716 89.1638C18.703 90.042 19.953 90.5353 21.3467 90.5353H77.3983C78.7919 90.5353 80.2151 90.042 81.3546 89.1638C82.4941 88.2855 83.2567 87.0944 83.4746 85.8525L95.7971 15.6095L81.0194 0H37.2291C35.8354 0 34.4123 0.493372 33.2727 1.37158C32.1332 2.24979 31.3706 3.44089 31.1527 4.68286L26.4976 31.2191Z"
        fill="#101728"
      />
      <path
        d="M79.1861 10.9267L81.1029 0L95.7973 15.6095H83.5944C82.2073 15.6095 80.9637 15.1162 80.137 14.238C79.3102 13.3598 78.9682 12.1687 79.1861 10.9267Z"
        fill="#364154"
      />
      <path
        d="M47.4903 9.53556L44.2043 28.267C44.1317 28.681 43.895 29.078 43.5465 29.3708C43.1979 29.6635 42.766 29.828 42.3457 29.828H39.9685C39.7583 29.828 39.5423 29.9102 39.3681 30.0566C39.1938 30.2029 39.0755 30.4015 39.0392 30.6084L38.0807 36.0718C38.0286 36.3684 37.8917 36.6588 37.6862 36.9091C37.4807 37.1593 37.2149 37.359 36.9202 37.4848C36.6254 37.6106 36.3138 37.6573 36.0218 37.6193C35.4424 37.5441 35.1093 37.051 34.7864 36.6136L30.6394 30.9961C30.2432 30.4595 29.8265 29.8283 29.0936 29.828H12.2346C11.8143 29.828 11.4401 29.6635 11.1942 29.3708C10.9484 29.078 10.8511 28.681 10.9237 28.267L14.2097 9.53556C14.2823 9.12157 14.5189 8.72454 14.8675 8.4318C15.2161 8.13907 15.648 7.97461 16.0683 7.97461H46.1793C46.5997 7.97461 46.9739 8.13907 47.2198 8.4318C47.4656 8.72454 47.5629 9.12157 47.4903 9.53556ZM98.734 51.6813L95.448 70.4128C95.3754 70.8268 95.1388 71.2238 94.7902 71.5165C94.4417 71.8093 94.0097 71.9737 93.5894 71.9737H76.7272C75.9953 71.9723 75.3569 72.6018 74.7731 73.1378L74.2899 73.5815L68.6565 78.7614C68.18 79.1996 67.6736 79.6933 67.0673 79.7683C66.7617 79.8061 66.4663 79.7592 66.2156 79.6331C65.9649 79.5069 65.7693 79.3067 65.6519 79.056C65.5345 78.8053 65.5001 78.5144 65.5526 78.2175L66.511 72.7542C66.5474 72.5472 66.4987 72.3487 66.3758 72.2023C66.2529 72.056 66.0657 71.9737 65.8556 71.9737H63.4784C63.0581 71.9737 62.6838 71.8093 62.438 71.5165C62.1921 71.2238 62.0948 70.8268 62.1674 70.4128L65.4534 51.6813C65.5261 51.2673 65.7627 50.8703 66.1112 50.5776C66.4598 50.2848 66.8917 50.1204 67.3121 50.1204H97.4231C97.8434 50.1204 98.2176 50.2848 98.4635 50.5776C98.7094 50.8703 98.8067 51.2673 98.734 51.6813Z"
        fill="url(#paint0_linear_1410_1054)"
      />
      <path
        d="M34.8529 45.4377H33.2681C32.8478 45.4377 32.4735 45.2732 32.2277 44.9805C31.9818 44.6877 31.8845 44.2907 31.9571 43.8767C32.0298 43.4627 32.2664 43.0657 32.6149 42.773C32.9635 42.4802 33.3954 42.3158 33.8158 42.3158H35.4005C35.8209 42.3158 36.1951 42.4802 36.441 42.773C36.6868 43.0657 36.7841 43.4627 36.7115 43.8767C36.6389 44.2907 36.4023 44.6877 36.0537 44.9805C35.7051 45.2732 35.2732 45.4377 34.8529 45.4377ZM33.7575 51.6815H32.1727C31.7524 51.6815 31.3782 51.517 31.1323 51.2243C30.8865 50.9316 30.7892 50.5345 30.8618 50.1205C30.9344 49.7065 31.171 49.3095 31.5196 49.0168C31.8682 48.724 32.3001 48.5596 32.7204 48.5596H34.3052C34.7255 48.5596 35.0998 48.724 35.3456 49.0168C35.5915 49.3095 35.6888 49.7065 35.6162 50.1205C35.5435 50.5345 35.3069 50.9316 34.9584 51.2243C34.6098 51.517 34.1779 51.6815 33.7575 51.6815ZM67.271 14.2186H53.0079C52.5876 14.2186 52.2133 14.0541 51.9675 13.7614C51.7216 13.4687 51.6243 13.0716 51.6969 12.6576C51.7696 12.2436 52.0062 11.8466 52.3547 11.5539C52.7033 11.2611 53.1352 11.0967 53.5556 11.0967H67.8187C68.239 11.0967 68.6132 11.2611 68.8591 11.5539C69.1049 11.8466 69.2023 12.2436 69.1296 12.6576C69.057 13.0716 68.8204 13.4687 68.4718 13.7614C68.1233 14.0541 67.6913 14.2186 67.271 14.2186ZM69.3452 20.4624H51.9125C51.4922 20.4624 51.118 20.2979 50.8721 20.0052C50.6263 19.7125 50.529 19.3154 50.6016 18.9015C50.6742 18.4875 50.9108 18.0904 51.2594 17.7977C51.608 17.505 52.0399 17.3405 52.4602 17.3405H69.8929C70.3132 17.3405 70.6875 17.505 70.9333 17.7977C71.1792 18.0904 71.2765 18.4875 71.2039 18.9015C71.1312 19.3154 70.8946 19.7125 70.5461 20.0052C70.1975 20.2979 69.7656 20.4624 69.3452 20.4624ZM76.1739 26.7062H50.8172C50.3969 26.7062 50.0226 26.5418 49.7768 26.249C49.5309 25.9563 49.4336 25.5593 49.5063 25.1453C49.5789 24.7313 49.8155 24.3342 50.1641 24.0415C50.5126 23.7488 50.9446 23.5843 51.3649 23.5843H76.7215C77.1418 23.5843 77.5161 23.7488 77.7619 24.0415C78.0078 24.3342 78.1051 24.7313 78.0325 25.1453C77.9599 25.5593 77.7232 25.9563 77.3747 26.249C77.0261 26.5418 76.5942 26.7062 76.1739 26.7062ZM75.0785 32.95H49.7219C49.3016 32.95 48.9273 32.7856 48.6815 32.4928C48.4356 32.2001 48.3383 31.8031 48.4109 31.3891C48.4835 30.9751 48.7202 30.5781 49.0687 30.2853C49.4173 29.9926 49.8492 29.8281 50.2695 29.8281H75.6262C76.0465 29.8281 76.4208 29.9926 76.6666 30.2853C76.9125 30.5781 77.0098 30.9751 76.9372 31.3891C76.8645 31.8031 76.6279 32.2001 76.2794 32.4928C75.9308 32.7856 75.4988 32.95 75.0785 32.95ZM73.9832 39.1939H43.8722C43.4519 39.1939 43.0776 39.0294 42.8318 38.7367C42.5859 38.4439 42.4886 38.0469 42.5612 37.6329C42.6338 37.2189 42.8705 36.8219 43.219 36.5291C43.5676 36.2364 43.9995 36.0719 44.4198 36.0719H74.5309C74.9512 36.0719 75.3254 36.2364 75.5713 36.5291C75.8171 36.8219 75.9144 37.2189 75.8418 37.6329C75.7692 38.0469 75.5326 38.4439 75.184 38.7367C74.8355 39.0294 74.4035 39.1939 73.9832 39.1939ZM72.8879 45.4377H41.192C40.7717 45.4377 40.3975 45.2732 40.1516 44.9805C39.9058 44.6877 39.8085 44.2907 39.8811 43.8767C39.9537 43.4627 40.1903 43.0657 40.5389 42.773C40.8874 42.4802 41.3194 42.3158 41.7397 42.3158H73.4355C73.8558 42.3158 74.2301 42.4802 74.4759 42.773C74.7218 43.0657 74.8191 43.4627 74.7465 43.8767C74.6739 44.2907 74.4372 44.6877 74.0887 44.9805C73.7401 45.2732 73.3082 45.4377 72.8879 45.4377ZM57.5294 51.6815H40.0967C39.6764 51.6815 39.3021 51.517 39.0563 51.2243C38.8104 50.9316 38.7131 50.5345 38.7857 50.1205C38.8584 49.7065 39.095 49.3095 39.4435 49.0168C39.7921 48.724 40.2241 48.5596 40.6444 48.5596H58.0771C58.4974 48.5596 58.8716 48.724 59.1175 49.0168C59.3633 49.3095 59.4607 49.7065 59.388 50.1205C59.3154 50.5345 59.0788 50.9316 58.7302 51.2243C58.3817 51.517 57.9497 51.6815 57.5294 51.6815ZM32.6622 57.9253H31.0774C30.6571 57.9253 30.2829 57.7608 30.037 57.4681C29.7911 57.1754 29.6938 56.7783 29.7665 56.3644C29.8391 55.9504 30.0757 55.5533 30.4243 55.2606C30.7728 54.9679 31.2048 54.8034 31.6251 54.8034H33.2099C33.6302 54.8034 34.0044 54.9679 34.2503 55.2606C34.4961 55.5533 34.5935 55.9504 34.5208 56.3644C34.4482 56.7783 34.2116 57.1754 33.863 57.4681C33.5145 57.7608 33.0825 57.9253 32.6622 57.9253ZM56.4341 57.9253H39.0014C38.5811 57.9253 38.2068 57.7608 37.961 57.4681C37.7151 57.1754 37.6178 56.7783 37.6904 56.3644C37.763 55.9504 37.9997 55.5533 38.3482 55.2606C38.6968 54.9679 39.1287 54.8034 39.549 54.8034H56.9817C57.402 54.8034 57.7763 54.9679 58.0221 55.2606C58.268 55.5533 58.3653 55.9504 58.2927 56.3644C58.2201 56.7783 57.9834 57.1754 57.6349 57.4681C57.2863 57.7608 56.8544 57.9253 56.4341 57.9253ZM31.5669 64.1691H29.9821C29.5618 64.1691 29.1875 64.0047 28.9417 63.7119C28.6958 63.4192 28.5985 63.0222 28.6711 62.6082C28.7437 62.1942 28.9804 61.7971 29.3289 61.5044C29.6775 61.2117 30.1094 61.0472 30.5297 61.0472H32.1145C32.5348 61.0472 32.9091 61.2117 33.1549 61.5044C33.4008 61.7971 33.4981 62.1942 33.4255 62.6082C33.3529 63.0222 33.1162 63.4192 32.7677 63.7119C32.4191 64.0047 31.9872 64.1691 31.5669 64.1691ZM55.3387 64.1691H37.906C37.4857 64.1691 37.1115 64.0047 36.8656 63.7119C36.6198 63.4192 36.5224 63.0222 36.5951 62.6082C36.6677 62.1942 36.9043 61.7971 37.2529 61.5044C37.6014 61.2117 38.0334 61.0472 38.4537 61.0472H55.8864C56.3067 61.0472 56.681 61.2117 56.9268 61.5044C57.1727 61.7971 57.27 62.1942 57.1974 62.6082C57.1247 63.0222 56.8881 63.4192 56.5396 63.7119C56.191 64.0047 55.759 64.1691 55.3387 64.1691ZM30.4715 70.4129H28.8867C28.4664 70.4129 28.0922 70.2485 27.8463 69.9557C27.6005 69.663 27.5032 69.266 27.5758 68.852C27.6484 68.438 27.885 68.041 28.2336 67.7482C28.5821 67.4555 29.0141 67.291 29.4344 67.291H31.0192C31.4395 67.291 31.8138 67.4555 32.0596 67.7482C32.3055 68.041 32.4028 68.438 32.3302 68.852C32.2575 69.266 32.0209 69.663 31.6724 69.9557C31.3238 70.2485 30.8918 70.4129 30.4715 70.4129ZM54.2434 70.4129H36.8107C36.3904 70.4129 36.0161 70.2485 35.7703 69.9557C35.5244 69.663 35.4271 69.266 35.4997 68.852C35.5724 68.438 35.809 68.041 36.1575 67.7482C36.5061 67.4555 36.9381 67.291 37.3584 67.291H54.7911C55.2114 67.291 55.5856 67.4555 55.8315 67.7482C56.0773 68.041 56.1746 68.438 56.102 68.852C56.0294 69.266 55.7928 69.663 55.4442 69.9557C55.0957 70.2485 54.6637 70.4129 54.2434 70.4129ZM29.3762 76.6568H27.7914C27.3711 76.6568 26.9968 76.4923 26.751 76.1996C26.5051 75.9068 26.4078 75.5098 26.4804 75.0958C26.5531 74.6818 26.7897 74.2848 27.1383 73.992C27.4868 73.6993 27.9188 73.5348 28.3391 73.5348H29.9239C30.3442 73.5348 30.7184 73.6993 30.9643 73.992C31.2101 74.2848 31.3074 74.6818 31.2348 75.0958C31.1622 75.5098 30.9256 75.9068 30.577 76.1996C30.2285 76.4923 29.7965 76.6568 29.3762 76.6568ZM54.7329 76.6568H35.7154C35.295 76.6568 34.9208 76.4923 34.6749 76.1996C34.4291 75.9068 34.3318 75.5098 34.4044 75.0958C34.477 74.6818 34.7136 74.2848 35.0622 73.992C35.4108 73.6993 35.8427 73.5348 36.263 73.5348H55.2805C55.7008 73.5348 56.0751 73.6993 56.3209 73.992C56.5668 74.2848 56.6641 74.6818 56.5915 75.0958C56.5188 75.5098 56.2822 75.9068 55.9337 76.1996C55.5851 76.4923 55.1532 76.6568 54.7329 76.6568ZM28.2809 82.9006H26.6961C26.2758 82.9006 25.9015 82.7361 25.6557 82.4434C25.4098 82.1506 25.3125 81.7536 25.3851 81.3396C25.4577 80.9256 25.6944 80.5286 26.0429 80.2359C26.3915 79.9431 26.8234 79.7787 27.2437 79.7787H28.8285C29.2488 79.7787 29.6231 79.9431 29.8689 80.2359C30.1148 80.5286 30.2121 80.9256 30.1395 81.3396C30.0669 81.7536 29.8302 82.1506 29.4817 82.4434C29.1331 82.7361 28.7012 82.9006 28.2809 82.9006ZM56.8071 82.9006H34.62C34.1997 82.9006 33.8255 82.7361 33.5796 82.4434C33.3338 82.1506 33.2364 81.7536 33.3091 81.3396C33.3817 80.9256 33.6183 80.5286 33.9669 80.2359C34.3154 79.9431 34.7474 79.7787 35.1677 79.7787H57.3548C57.7751 79.7787 58.1493 79.9431 58.3952 80.2359C58.641 80.5286 58.7383 80.9256 58.6657 81.3396C58.5931 81.7536 58.3565 82.1506 58.0079 82.4434C57.6594 82.7361 57.2274 82.9006 56.8071 82.9006Z"
        fill="#364154"
      />
      <path
        d="M31.858 17.3397H19.1797C18.7594 17.3397 18.3851 17.1752 18.1393 16.8825C17.8934 16.5898 17.7961 16.1927 17.8687 15.7787C17.9414 15.3647 18.178 14.9677 18.5265 14.675C18.8751 14.3822 19.3071 14.2178 19.7274 14.2178H32.4057C32.826 14.2178 33.2003 14.3822 33.4461 14.675C33.692 14.9677 33.7893 15.3647 33.7167 15.7787C33.644 16.1927 33.4074 16.5898 33.0588 16.8825C32.7103 17.1752 32.2783 17.3397 31.858 17.3397ZM39.782 17.3397H38.1972C37.7769 17.3397 37.4026 17.1752 37.1568 16.8825C36.9109 16.5898 36.8136 16.1927 36.8862 15.7787C36.9589 15.3647 37.1955 14.9677 37.544 14.675C37.8926 14.3822 38.3245 14.2178 38.7449 14.2178H40.3297C40.75 14.2178 41.1242 14.3822 41.3701 14.675C41.6159 14.9677 41.7132 15.3647 41.6406 15.7787C41.568 16.1927 41.3314 16.5898 40.9828 16.8825C40.6342 17.1752 40.2023 17.3397 39.782 17.3397ZM27.5931 23.5835H18.0844C17.6641 23.5835 17.2898 23.419 17.044 23.1263C16.7981 22.8336 16.7008 22.4365 16.7734 22.0225C16.846 21.6086 17.0827 21.2115 17.4312 20.9188C17.7798 20.626 18.2117 20.4616 18.632 20.4616H28.1408C28.5611 20.4616 28.9353 20.626 29.1812 20.9188C29.427 21.2115 29.5244 21.6086 29.4517 22.0225C29.3791 22.4365 29.1425 22.8336 28.7939 23.1263C28.4454 23.419 28.0134 23.5835 27.5931 23.5835ZM83.1018 59.4854H70.4234C70.0031 59.4854 69.6289 59.321 69.383 59.0283C69.1372 58.7355 69.0399 58.3385 69.1125 57.9245C69.1851 57.5105 69.4217 57.1135 69.7703 56.8207C70.1189 56.528 70.5508 56.3635 70.9711 56.3635H83.6494C84.0698 56.3635 84.444 56.528 84.6899 56.8207C84.9357 57.1135 85.033 57.5105 84.9604 57.9245C84.8878 58.3385 84.6512 58.7355 84.3026 59.0283C83.954 59.321 83.5221 59.4854 83.1018 59.4854ZM91.0257 59.4854H89.4409C89.0206 59.4854 88.6464 59.321 88.4005 59.0283C88.1547 58.7355 88.0574 58.3385 88.13 57.9245C88.2026 57.5105 88.4392 57.1135 88.7878 56.8207C89.1363 56.528 89.5683 56.3635 89.9886 56.3635H91.5734C91.9937 56.3635 92.368 56.528 92.6138 56.8207C92.8597 57.1135 92.957 57.5105 92.8844 57.9245C92.8117 58.3385 92.5751 58.7355 92.2266 59.0283C91.878 59.321 91.446 59.4854 91.0257 59.4854ZM78.8369 65.7293H69.3281C68.9078 65.7293 68.5335 65.5648 68.2877 65.2721C68.0418 64.9793 67.9445 64.5823 68.0172 64.1683C68.0898 63.7543 68.3264 63.3573 68.675 63.0645C69.0235 62.7718 69.4555 62.6074 69.8758 62.6074H79.3845C79.8048 62.6074 80.1791 62.7718 80.4249 63.0645C80.6708 63.3573 80.7681 63.7543 80.6955 64.1683C80.6229 64.5823 80.3862 64.9793 80.0377 65.2721C79.6891 65.5648 79.2572 65.7293 78.8369 65.7293Z"
        fill="#F9FAFD"
      />
      <defs>
        <linearGradient
          id="paint0_linear_1410_1054"
          x1="8.18512"
          y1="43.8778"
          x2="97.3587"
          y2="59.5213"
          gradientUnits="userSpaceOnUse"
        >
          <stop stopColor={secondaryColor} />
          <stop offset="1" stopColor={color} />
        </linearGradient>
      </defs>
    </svg>
  )
}
